package cn.edu.scnu.springbootcinema.controller;

import cn.edu.scnu.springbootcinema.entity.Actor;
import cn.edu.scnu.springbootcinema.entity.Movie;
import cn.edu.scnu.springbootcinema.service.ActorService;
import cn.edu.scnu.springbootcinema.service.MovieService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Controller
public class SearchController {


    @GetMapping("/search")
    public String search()
    {
        return "searches";
    }

}
